Skip to content

docs: add Cursor Cloud environment setup notes to AGENTS.md - #3631

Draft
mitul-s wants to merge 1 commit into
mainfrom
c+ms/cloud-env-setup-a7a4
Draft

docs: add Cursor Cloud environment setup notes to AGENTS.md#3631
mitul-s wants to merge 1 commit into
mainfrom
c+ms/cloud-env-setup-a7a4

Conversation

@mitul-s

@mitul-s mitul-s commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Description

Sets up the Cloud Agent development environment for this repo and records the non-obvious startup/run caveats discovered during setup in a new ## Cursor Cloud specific instructions section of AGENTS.md.

No package code changed — this PR only adds documentation to AGENTS.md. The actual environment configuration lives in the Cloud Agent startup update script (pnpm install --frozen-lockfile) and the VM snapshot (which now ships a Rust stable toolchain + wasm32-unknown-unknown target so @workflow/swc-plugin compiles).

Key learnings captured for future agents:

  • pnpm build (repo root) is required before running/e2e-testing any workbench app.
  • Building compiles a Rust→WASM artifact (@workflow/swc-plugin) whose Cargo.toml needs edition2024 (Rust/Cargo ≥ 1.85); the base image's default Rust (1.83) is too old, so the snapshot now defaults to Rust stable ≥ 1.97.
  • Default backend is world-local — no Postgres/Docker/Vercel needed for local dev or the HTTP e2e suite.
  • workbench/nextjs-turbopack is the primary runnable app for manual/e2e testing, with a quick HTTP smoke-test recipe.

How did you test your changes?

Verified the full local dev loop end-to-end:

Check Command Result
Install pnpm install --frozen-lockfile
Build pnpm build (28 packages, incl. Rust→WASM SWC plugin)
Lint pnpm lint (Biome) ✅ exit 0 (advisory warnings only)
Unit tests packages/world-local vitest ✅ 549 passed
Dev server WORKFLOW_PUBLIC_MANIFEST=1 pnpm dev in workbench/nextjs-turbopack ✅ ready on :3000
E2E DEPLOYMENT_URL=http://localhost:3000 APP_NAME=nextjs-turbopack pnpm vitest run packages/core/e2e/e2e.test.ts -t "sleeping" ✅ 2 passed
Hello-world (HTTP) POST /api/workflows/start {simple,[42]} → await result: 57
Hello-world (UI) Triggered simple workflow from the browser UI ✅ "done", result 57

Browser walkthrough (select + run simple workflow, completes with result 57):

nextjs_turbopack_simple_workflow_run.mp4

simple workflow completed in the UI with result 57

PR Checklist - Required to merge

  • 📦 pnpm changeset — docs-only change (AGENTS.md); use pnpm changeset --empty if required by CI
  • 🔒 DCO sign-off
  • 📝 Ping @vercel/workflow when ready

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

@changeset-bot

changeset-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e105c6e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Aug 18, 2026 9:51pm
example-nextjs-workflow-webpack Ready Ready Preview Aug 18, 2026 9:51pm
example-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-astro-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-express-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-fastify-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-hono-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-nestjs-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-nitro-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-nuxt-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-python-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-sveltekit-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-tanstack-start-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workbench-vite-workflow Ready Ready Preview Aug 18, 2026 9:51pm
workflow-docs Ready Ready Preview, v0 Aug 18, 2026 9:51pm
workflow-swc-playground Ready Ready Preview Aug 18, 2026 9:51pm
workflow-tarballs Ready Ready Preview Aug 18, 2026 9:51pm
workflow-web Ready Ready Preview Aug 18, 2026 9:51pm

@github-actions

Copy link
Copy Markdown
Contributor

Sim World

Simulated world deterministic testing for races. Traces

🟠 world-sim scenario book — 1 fail of 41 total

fence=per-spec

scenario outcome events virt replay violations
smoke-no-steps completed 3 0ms ok 0
smoke-one-step completed 6 0ms ok 0
hook-at-step-started completed 12 0ms ok 0
hook-at-step-completed completed 12 0ms ok 0
hook-at-hook-created completed 12 0ms ok 0
deadline-hook-wins completed 7 1.0h ok 0
deadline-expires completed 7 1.0h ok 0
long-sleep completed 11 30.0d ok 0
hook-never-arrives stalled 3 0ms skipped 0
step-retries-twice completed 10 2.0s ok 0
parallel-steps completed 9 0ms ok 0
hook-on-execution-state completed 12 0ms ok 0
peek-hook-before-branch completed 12 0ms ok 0
peek-hook-after-branch completed 12 0ms ok 0
peek-hook-at-registration completed 12 0ms ok 0
race-hook-before-probe completed 12 0ms ok 0
race-hook-after-probe completed 12 0ms ok 0
race-duplicate-delivery completed 13 0ms ok 0
attr-hook-before-step completed 11 0ms ok 0
attr-hook-after-step completed 11 0ms ok 0
attr-from-step-body completed 13 0ms ok 0
fork-hook-after-timeout completed 14 1.0m ok 0
fork-hook-before-timeout completed 14 1.0m ok 0
count-hook-after-timeout completed 17 1.0m ok 0
count-hook-before-timeout completed 20 1.0m ok 0
stale-read-step-count-fork completed 20 1.0m ok 0
stale-read-equal-step-counts completed 14 1.0m ok 0
step-vs-step-fork completed 12 0ms ok 0
step-vs-step-fork-fenced completed 12 0ms ok 0
fence-catches-benign-direction completed 12 5ms ok 0
in-flight-before-decision completed 17 1.0m ok 0
in-flight-before-decision-counted completed 17 1.0m ok 0
in-flight-after-decision completed 19 2.0m ok 0
stale-read-step-count-fork-fenced completed 20 1.0m ok 0
fork-hook-wins completed 13 1.0m ok 0
fork-timeout-wins completed 13 1.0m ok 0
unclaimed-payload-under-fork completed 17 1.0m ok 0
claimed-payload-under-fork completed 17 1.0m ok 0
writers-independent-step-bodies completed 12 0ms ok 0
writers-scripted-tempo completed 12 0ms ok 0
cancel-mid-step cancelled 7 0ms skipped 0

Full trace: world-sim.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants